package net.luckyday.model;

import java.util.Date;

public class NewsInfo {
	private String portar;
	private boolean isExistNewsPhoto;
	private String photoUrl;
	private String newsTitle;
	private String newsLink;
	private String newsAgency;
	private String newsAgencyCategory;
	private Date newsRgstTimeStamp;
	
	public boolean isExistNewsPhoto() {
		return isExistNewsPhoto;
	}
	public void setExistNewsPhoto(boolean isExistNewsPhoto) {
		this.isExistNewsPhoto = isExistNewsPhoto;
	}
	public String getPhotoUrl() {
		return photoUrl;
	}
	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsLink() {
		return newsLink;
	}
	public void setNewsLink(String newsLink) {
		this.newsLink = newsLink;
	}
	public String getNewsAgency() {
		return newsAgency;
	}
	public void setNewsAgency(String newsAgency) {
		this.newsAgency = newsAgency;
	}
	public Date getNewsRgstTimeStamp() {
		return newsRgstTimeStamp;
	}
	public void setNewsRgstTimeStamp(Date newsRgstTimeStamp) {
		this.newsRgstTimeStamp = newsRgstTimeStamp;
	}
	
	public String getNewsAgencyCategory() {
		return newsAgencyCategory;
	}
	public void setNewsAgencyCategory(String newsAgencyCategory) {
		this.newsAgencyCategory = newsAgencyCategory;
	}
	
	
	public String printNewsInfo()
	{
		String result =  "";
		result += "portar :" + portar +"\r\n";
		result += "photo : " + photoUrl +"\r\n";
		result += "newsTitle :"+ newsTitle+"\r\n";
		result +=  "newsLink :"+ newsLink+"\r\n";
		result +=  "newsAgency :"+ newsAgency+"\r\n";
		result +=  "newsRgstTimeStamp :"+ newsRgstTimeStamp+"\r\n\r\n\r\n";
		return result;
	}
	public String getPortar() {
		return portar;
	}
	public void setPortar(String portar) {
		this.portar = portar;
	}
}
